package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.mapper.AuthMapper;
import cn.kgc.crowdfundingadmin.pojo.Auth;
import cn.kgc.crowdfundingadmin.pojo.AuthExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import java.util.List;
@Scope
@Service("authService")
public class AuthServiceImpl implements AuthService {
    @Autowired
    AuthMapper authMapper;

    @Override
    public List<Integer> getAssignedAuthIdList(Integer roleId) {
        return authMapper.getAssignedAuthIdList(roleId);
    }

    @Override
    public List<Auth> getAllAuth() {
        return authMapper.selectByExample(null);
    }

    @Override
    public int countByExample(AuthExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(AuthExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Auth record) {
        return 0;
    }

    @Override
    public int insertSelective(Auth record) {
        return 0;
    }

    @Override
    public List<Auth> selectByExample(AuthExample example) {
        return null;
    }

    @Override
    public Auth selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(Auth record, AuthExample example) {
        return 0;
    }

    @Override
    public int updateByExample(Auth record, AuthExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Auth record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Auth record) {
        return 0;
    }
}